package com.neusoft.demo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.neusoft.demo.dao.AdminMapper;
import com.neusoft.demo.po.Admin;
import com.neusoft.demo.service.AdminService;


@Service("adminService")
@Transactional
public class AdminServiceImpl implements AdminService {

	
	@Autowired
	  AdminMapper adminMapper;
	@Override
	public Admin findAdmin(String adminname, String passwd) {
		Admin admin=this.adminMapper.findAdmin(adminname, passwd);
		
		return admin;
	}

}
